# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       加一
# Name:         demo4.09
# Description:  通过分片操作截取numbers序列中的某个子序列
# Author:       加一
# Date:         2019/2/20
#-------------------------------------------------------------------------------

numbers = [1,2,3,4,5,6,7,8]
print(numbers[3:5])
print(numbers[0:1])
print(numbers[5:8])
print(numbers[-3:-1])